# 定义函数，去读取data目录下的json文件
import json


def read_json_data():
    with open("../data/mock_data.json", "r", encoding="utf-8") as f:
        json_data = json.load(f)
        # print(json_data)
        list_data = []
        for item in json_data:
            tmp = tuple(item.values())
            list_data.append(tmp)
        # print(list_data)
        return list_data


if __name__ == '__main__':
    print(read_json_data())
